--divide_spell
-- created by panyl
-- 拆分「卷轴」获得属性+N%

return {
    apply = function(prop, baseValue)
        local value = 0;
        if prop[3] > 0 then
            value = math.modf(baseValue * prop[3] / 1000);
            if value < 1 then
            	value = 1;
            end
        end
        baseValue = baseValue + value;
        return baseValue;
    end,

    record = function(target, prop, path)
        return false;
    end 
};